package com.ruoyi.community.mapper;

import com.ruoyi.community.domain.ServiceRules;

import java.util.List;

public interface ServiceRulesMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ServiceRules record);

    int insertSelective(ServiceRules record);

    ServiceRules selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ServiceRules record);

    int updateByPrimaryKeyWithBLOBs(ServiceRules record);

    int updateByPrimaryKey(ServiceRules record);

    List<ServiceRules> selectAllRules(Long communityId);
}